package com.educate.upms.dao;

import com.educate.upms.dao.impl.UpmsUserDaoImpl;
import com.educate.upms.model.bo.UpmsUserBO;
import com.educate.upms.model.po.UpmsUser;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface UpmsUserDao extends MongoRepository<UpmsUser, String> {

    /**
     * #{@link UpmsUserDaoImpl#query(UpmsUserBO, Pageable)}
     */
    Page<UpmsUser> query(UpmsUserBO bo, Pageable pageable);
}
